﻿using System;
using MvcExtensions;

namespace mForum.Web.Common.BootstrapperTasks
{
    using mForum.Web.Common.Controllers;
    using mForum.Web.Common.ActionFilters;

    public class RegisterGlobalFilters : ConfigureFiltersBase
    {
        protected override void Configure(IFilterRegistry registry)
        {
            registry.Register<AccountController, UpdateUserLastActivityAttribute>()
                    .Register<HomeController, UpdateUserLastActivityAttribute>();
        }
    }
}
